package controllers;

import models.User;
import play.mvc.*;

public class AdminInterface extends Controller {

    public static void index() {
        User user = Security.getConnected();
        
        if (user.isAdmin)
        	render(user);
        else
        	Application.index();
    }

}
